/**
 * @ClassName: UserEntity
 * @Description
 * @Author maozhi
 * @Date 2021/3/22
 * @Time 14:58
 */

package com.universityJob.modules.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 用户
 */
@Data
@TableName("tb_user")
public class UserEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    public void setAll(String userId, String username,
                       String mobile, String password, String gender, String email,
                       String source, String major, String name, String salt, String status,String college,String education, Date createTime) {
        this.userId = userId;
        this.username = username;
        this.mobile = mobile;
        this.password = password;
        this.gender = gender;
        this.email = email;
        this.source = source;
        this.major = major;
        this.name = name;
        this.salt = salt;
        this.status = status;
        this.college = college;
        this.education = education;
        this.createTime = createTime;

    }

    /**
     * 学号
     */
    @TableId(value = "user_id", type = IdType.INPUT)
    private String userId;
    /**
     * 用户名
     */
    private String username;
    /**
     * 手机号
     */
    private String mobile;
    /**
     * 密码
     */
    private String password;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 性别（1为男，2为女）
     */
    private String gender;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 生源地
     */
    private String source;
    /**
     * 就业区域
     */
    private String employmentZones;
    /**
     * 直辖市
     */
    private String municipalityDirectly;
    /**
     * 薪资
     */
    private String pay;
    /**
     * 姓名
     */
    private String name;
    /**
     * 状态（0禁用）
     */
    private String status;
    /**
     * 盐
     */
    private String salt;
    /**
     * 专业
     */
    private String major;
    /**
     * 学院
     */
    private String college;
    /**
     * 学历
     */
    private String education;
}
